package com.gzsxy.esjy.service.product.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.gzsxy.esjy.service.base.model.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 商品分类
 * </p>
 *
 * @author zxl
 * @since 2021-11-02
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("t_category")
@ApiModel(value="Category对象", description="类型")
public class Category extends BaseEntity {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "类型名称")
    private String categoryName;

    @ApiModelProperty(value = "分类父ID")
    private String parentId;

    @ApiModelProperty(value = "分类层级 0: 顶级 1:二级 2:三级")
    private Integer categoryLevel;

    @ApiModelProperty(value = "图标")
    private String categoryIcon;

    @ApiModelProperty(value = "排序id")
    private Integer orderId;

    @ApiModelProperty(value = "是否禁用（0否1是）")
    private Boolean isDisabled;





}
